package com.ssl.rms.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 描述：树形节点实体
 *
 * @author ssl
 * @create 2018/04/13 14:24
 */
public class TreeNode implements Serializable {

    private Long key;
    private Long parentId;
    private String title;
    private Integer sort;
    private List<TreeNode> children;

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }
}
